package com.wisdytech.linkdcs.tool.service;

import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.system.model.SysUser;
import com.wisdytech.linkdcs.tool.model.ToolCheckItem;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhanghailin
 * @since 2018-06-12
 */
public interface IToolCheckItemService {

    /**
     *
     * @param toolCode 设备编码（required true）
     * @param filter 分页参数
     * @return PageInfo
     */
    PageInfo<ToolCheckItem> getToolCheckItemByFilter(String toolCode, Filter filter);

    Boolean saveOrUpdateCheckItem(ToolCheckItem toolCheckItem, SysUser operator);

    Boolean deleteToolCheckItem(String pkIds, SysUser operator);

    ToolCheckItem getToolCheckItemById(String pkId);

}
